package com.pku.control;

/**
 *[网络]
 * {"id": 108, "mac_code": "b89a2a6a20dd", "network_name": "WLAN", "bytes_sent": "2751.85",
 * "bytes_recv": "18137.72", "packets_sent": 17267, "packets_recv": 19590,
 * "errin": 0, "errout": 0, "dropin": 0, "dropout": 0}
 * [说明]
 * id:主键、自增，基本用不上
 * mac_code:mac号码(机器的唯一码),整个系统全靠此码进行关联
 * network_name:网络名称
 * bytes_sent:发送字节 kbps
 * bytes_recv:接收字节 kbps
 * packets_sent:发送数据包数
 * packets_recv:接收数据包数
 * errin:接收错误数据包数
 * errout:发送错误数据包数
 * dropin:丢弃接收数据包数
 * dropout:丢弃发送数据包数
 */
public class NetInfo {
    private int id;
    private String mac_code;
    private String network_name;
    private String bytes_sent;
    private String bytes_recv;
    private int packets_sent;
    private int packets_recv;
    private int errin;
    private int errout;
    private int dropin;
    private int dropout;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMac_code() {
        return mac_code;
    }

    public void setMac_code(String mac_code) {
        this.mac_code = mac_code;
    }

    public String getNetwork_name() {
        return network_name;
    }

    public void setNetwork_name(String network_name) {
        this.network_name = network_name;
    }

    public String getBytes_sent() {
        return bytes_sent;
    }

    public void setBytes_sent(String bytes_sent) {
        this.bytes_sent = bytes_sent;
    }

    public String getBytes_recv() {
        return bytes_recv;
    }

    public void setBytes_recv(String bytes_recv) {
        this.bytes_recv = bytes_recv;
    }

    public int getPackets_sent() {
        return packets_sent;
    }

    public void setPackets_sent(int packets_sent) {
        this.packets_sent = packets_sent;
    }

    public int getPackets_recv() {
        return packets_recv;
    }

    public void setPackets_recv(int packets_recv) {
        this.packets_recv = packets_recv;
    }

    public int getErrin() {
        return errin;
    }

    public void setErrin(int errin) {
        this.errin = errin;
    }

    public int getErrout() {
        return errout;
    }

    public void setErrout(int errout) {
        this.errout = errout;
    }

    public int getDropin() {
        return dropin;
    }

    public void setDropin(int dropin) {
        this.dropin = dropin;
    }

    public int getDropout() {
        return dropout;
    }

    public void setDropout(int dropout) {
        this.dropout = dropout;
    }
}
